.navbar {
    display: flex;
    position: fixed;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 1.5rem;
    height: 8vh;
    margin-inline: auto;
    background-color: var(--main-bg-color);

    .logoImage {
        width: auto;
        display: block;
        user-select: none;
    }

    .navbar__content {
        padding: 0 1rem 0 0;
        width: 100%;
        background: var(--main-bg-color);
        transition: left .4s;

        &.showNavbar {
            left: 0;
        }

        &.hideNavbar {
            left: -100%;
        }
    }

    .menuToggle {
        position: fixed;
        right: 40px;
        font-size: .8rem;
        color: #ebebeb;
        outline: none;

        & svg {
            width: 40px;
        }
    }
}

@media (min-width: 0) {
    .navbar__content {
        display: flex;
        position: absolute;
        align-items: center;
        justify-content: flex-end;
        min-height: 8vh;
        left: -100%;
        top: 8vh;

    }

}

@media (min-width: 568px) {
    .logoImage {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .navbar__content {
        position: static;
        min-height: fit-content;
        width: auto;
    }

    .menuToggle {
        display: none;
    }
}